export const data = {
  form: {},

  queryParams: {
    total: 0,
    dateRange: [],
    pageNum: 1,
    pageSize: 10,
    rcvNo: null,
    poNo: null,
    poLine: null,
    partNo: null,
    description: null,
    materialType: null,
  },
  rules: {
    ebeln: [{ required: true, message: "采购订单编号不能为空", trigger: "blur" }],
  },
}

export const column = [
  { prop: "rcvNo", label: "预约单号", width: 150, minWidth: 50 },
  { prop: "poNo", label: "采购订单", width: 80, minWidth: 50, showOverflow: true },
  { prop: "poLine", label: "订单行号", width: 130, minWidth: 50 },
  { prop: "partNo", label: "物料代码", width: 180, minWidth: 50, showOverflow: true },
  { prop: "description", label: "物料描述", width: 80, minWidth: 50, showOverflow: true },
  { prop: "materialType", label: "物料类型", width: 80, minWidth: 50, showOverflow: true },
  { prop: "needTime", label: "需求时间", width: 80, minWidth: 50 },
  { prop: "poQty", label: "采购数量", width: 80, minWidth: 50 },
  { prop: "rcvdQty", label: "已交量", width: 80, minWidth: 50 },
  { prop: "shpQty", label: "本地预约量", width: 100, minWidth: 50 },
  { prop: "vendorCode", label: "供应商代码", width: 130, minWidth: 50 },
  { prop: "vendorName", label: "供应商名称", width: 130, minWidth: 50, showOverflow: true },
  { prop: "state", label: "状态", width: 80, minWidth: 50 },
  { prop: "status", label: "交互状态", width: 80, minWidth: 50 },
  { prop: "errMsg", label: "交互信息", width: 80, minWidth: 50, showOverflow: true },
  { prop: "operate", label: "操作", fixed: "right", width: 150, type: 'detail' },
]
export const formList = [
  { prop: "rcvNo", label: "预约单号" },
  { prop: "poNo", label: "采购订单" },
  { prop: "poLine", label: "订单行号" },
  { prop: "partNo", label: "物料代码" },
]